@charset "UTF-8";

/* You can add global styles to this file, and also import other style files */
.tool-layout {
  display: flex;
  flex-direction: row;
  background: #E1E6ED;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.tool-layout-main {
  flex: 1 1 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.tool-layout-nav {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.layout-main--header {
  height: 50px;
  flex-shrink: 0;
  background: #FFFFFF;
  display: flex;
  box-shadow: 0px 2px 10px 0px rgba(1, 51, 100, 0.1);
  align-items: center;
  justify-content: center;
}

.layout-main--header .btn.f-state-selected {
  color: #fff;
  background-image: linear-gradient(221deg, #3F65FF 0%, #4D9AFF 100%);
}

.layout-main--content {
  flex: 1 1 0;
  padding: 14px;
}


.layout-nav--tab {
  width: 50px;
  flex-shrink: 0;
  height: 100%;
  background-image: linear-gradient(135deg, #40465C 0%, #2B3347 99%);
}

.layout-nav--tab ul,
.layout-nav--tab li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.layout-nav--tab .tab--list .tab--item {
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 40px;
  color: #fff;
}

.layout-nav--tab .tab--list .tab--item.active {
  background-image: linear-gradient(221deg, #3F65FF 0%, #4D9AFF 100%);
}

.layout-nav--tab .tab--list .tab--item-advanced.active {
  background-image: linear-gradient(-45deg, #AE82FF 0%, #7E7AF4 100%);
}

.layout-nav--collapse {
  flex-shrink: 0;
}

.layout-nav--collapse .f-list-nav-in {
  background: #F5F7FA !important;
  box-shadow: rgba(57, 66, 100, 0.1) 6px 0px 8px 0px !important;
  z-index: 100;
}

.layout-nav--editor-container {
  display: flex;
  flex-direction: column;
  width: 0;
  overflow: hidden;
  margin:0 -18px;
  height:100%;
}

.layout-nav--editor-container.f-state-expand {
  width: 320px;
  transition: width 0.2s ease-in-out;
  box-shadow: rgba(57, 66, 100, 0.1) 6px 0px 8px 0px !important;
}

.custom-monaco-editor {
  flex: 1 1 0;
  width: 320px;
}

/**
* 定义导航图标
*/
.nav-icon-css,
.nav-icon-detailed,
.nav-icon-rapid {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.nav-icon-css {
  background-image: url('./images/css.svg');
}

.nav-icon-detailed {
  background-image: url('./images/detailed.svg');
}

.nav-icon-rapid {
  background-image: url('./images/rapid.svg');
}

/*覆盖样式*/
.f-list-nav.f-list-nav-left {
  padding-right: 0 !important;
}

.f-sidebar-overlay {
  margin-left: -1px;
}

/*Loading*/
.ng-busy-default-sign {
  background: none;
  box-shadow: none;
}

.ng-busy-default-sign .common-loading--container {
  width: 40px;
  height: 40px;
  display: inline-block;
  margin: 4px;
}

/**
* 编辑器
*/
.tool-editor {
  padding: 0 0 4px;
}

.tool-editor .variables-header {
  font-size: 14px;
  color: #5A5E66;
  line-height: 20px;
  padding: 4px 0 0;
}

.tool-editor .variables-component {
  padding: 6px 0;
}

/*
* 头部位置
*/
.settings-header--container {
  position: relative;
  display: flex;
  padding: 16px 18px 14px 14px;
}

.settings-header--container .download-dropdown--wrapper {
  top: 100%;
  height: 100px;
  left: 20px;
  right: 20px;
  position: absolute;
  background: #fff;
  z-index: 9;
  margin-top: -8px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.settings-header--container .download-dropdown--wrapper .download-dropdown-item .f-icon {
  font-size: 14px;
  margin: 0 6px 0 0;
}

.settings-header--container .download-dropdown--wrapper ul {
  padding: 12px 16px;
}

.settings-header--container .download-dropdown--wrapper .download-dropdown-item {
  list-style: none;
  line-height: 26px;
  cursor: pointer;
}

.settings-header--container .download-dropdown--wrapper .download-dropdown-item:hover {
  text-decoration: underline;
  color: #308aff;
}

.settings-header--container .k-button {
  margin: 0 auto 0 0;
  color: #848C9A;
}

.settings-header--container .btn {
  border-radius: 13px;
  margin: 0 0 0 8px;
}

.settings-header--container .btn-primary {
  box-shadow: 0px 4px 10px 0px rgba(69, 144, 255, 0.3);
  background-image: linear-gradient(221deg, #3F65FF 0%, #4D9AFF 100%);
}

/*
* 导航内容区
*/
.layout-nav--collapse .f-list-nav .f-list-nav-main .f-list-nav-content {
  padding: 0 18px;
}

/*组件展示*/
.preview-widget-layout {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 0 16px 20px;
  background: #fff;
}

.preview-widget-layout .preview-widget-layout--container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -14px;
  overflow: auto;
}

.preview-widget-layout .preview-widget-layout--container>* {
  margin-top: 20px;
}

.docs-widget-viewer {
  position: relative;
  border: 1px solid #E6E9F0;
  border-radius: 4px;
  transition: all .3s;
  overflow: hidden;
  height: 100%;
}

.docs-widget-viewer .widget-viewer--title {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 2px 8px #f0f1f2;
}

.docs-widget-viewer .widget-viewer--body {
  padding: 20px 15px;
}

.docs-widget-viewer .widget-viewer--body .viewer-des {
  margin: 0 0 6px;
}

.progress-circle-item {
  padding: 8px;
}

.progress-circle-item p {
  margin: 6px 0 0;
}


/**
<h5 class="widget-secondary-title">普通按钮</h5>
**/
